MDrivenServer, serverside environment variables

Variables Defined by MDrivenServer When Running Server-side Jobs

If you want the serverside job to know which server it is running on, use server-defined variables as in the example below.

2020-02-03 09h16 56.png

Then, you want to do logic in your serverside job that behaves differently depending on if you are in production or development:

2020-02-03 09h20 59.png

There's nothing special with the variables themselves - more than that they are defined on a per-server basis.

Use any variable in MDrivenServer and pick up the setting when serverside jobs run by having a matching definition.

That is you need to declare the variables (again) in your ViewModel
This page was edited 107 days ago on 01/11/2024. What links here